package com.ray.mapper;

import org.apache.ibatis.annotations.Param;

import com.ray.bean.MachineRelationWorkingTimeIntervalBean;

public interface MachineRelationWorkingTimeIntervalMapper {

	MachineRelationWorkingTimeIntervalBean getMachineRelationWorkingTimeIntervalByMachineIDAndTemporalIntervalId(
			@Param("machineId") String machineId,
			@Param("temporalIntervalId") String temporalIntervalId);

	void addMachineRelationWorkingTimeInterval(
			MachineRelationWorkingTimeIntervalBean machineRelationWorkingTimeIntervalBean);
	
	void delMachineRelationWorkingTimeIntervalByMachineId(@Param("id")String id);

}
